<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html;  " >
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Cache-Control" content="no-cache">
    <meta http-equiv="Expires" content="0">
    <title>后台登录</title>
    <script src="js/jquery-3.2.1.min.js" type="text/javascript"></script>
    <script>

        $(function () {
            $(".none").focus(function () {
                $("p").hide();
                /*<% session.removeAttribute("msg1"); %>*/
            });
        });

    </script>
    <style>
        *{
            font: 13px/1.5 '微软雅黑', Verdana, Helvetica, Arial, sans-serif;
            -webkit-box-sizing: border-box;
            -moz-box-sizing: border-box;
            -box-sizing: border-box;
            padding:0;
            margin:0;
            list-style:none;
            box-sizing: border-box;
        }
        body{
            background:url(images/web_login_bg.jpg) no-repeat center;
            background-size: cover;
        }

        body,html{
            height:100%;
            overflow:hidden;
        }

        a{
            color: #27a9e3;
            text-decoration:none;
            cursor:pointer;
        }
        .login{
            margin: 150px auto 0 auto;
            min-height: 420px;
            max-width: 420px;
            padding: 40px;
            background-color: #ffffff;
            margin-left: auto;
            margin-right: auto;
            border-radius: 4px;
            /* overflow-x: hidden; */
            box-sizing: border-box;
        }
        a.logo{
            display: block;
            height: 58px;
            width: 167px;
            margin: 0 auto 30px auto;
            background-size: 167px 42px;
        }
        .message {
            margin: 10px 0 0 -58px;
            padding: 18px 10px 18px 60px;
            background: #27A9E3;
            position: relative;
            color: #fff;
            font-size: 16px;
        }
        #darkbannerwrap {
            background: url(images/aiwrap.png);
            width: 18px;
            height: 10px;
            margin: 0 0 20px -58px;
            position: relative;
        }

        input[type=text],
        input[type=file],
        input[type=password],
        input[type=email], select {
            border: 1px solid #DCDEE0;
            vertical-align: middle;
            border-radius: 3px;
            height: 50px;
            padding: 0px 16px;
            font-size: 14px;
            color: #555555;
            outline:none;
            width:100%;
        }
        input[type=text]:focus,
        input[type=file]:focus,
        input[type=password]:focus,
        input[type=email]:focus, select:focus {
            border: 1px solid #27A9E3;
        }


        input[type=submit],
        input[type=button]{
            display: inline-block;
            vertical-align: middle;
            padding: 12px 24px;
            margin: 0px;
            font-size: 18px;
            line-height: 24px;
            text-align: center;
            white-space: nowrap;
            vertical-align: middle;
            cursor: pointer;
            color: #ffffff;
            background-color: #27A9E3;
            border-radius: 3px;
            border: none;
            -webkit-appearance: none;
            outline:none;
            width:100%;
        }
        hr.hr15 {
            height: 15px;
            border: none;
            margin: 0px;
            padding: 0px;
            width: 100%;
        }
        hr.hr20 {
            height: 20px;
            border: none;
            margin: 0px;
            padding: 0px;
            width: 100%;
        }

        .copyright{
            font-size:14px;
            color:rgba(255,255,255,0.85);
            display:block;
            position:absolute;
            bottom:15px;
            right:15px;
        }
    </style>
</head>
<body>

<div class="login">
    <div class="message">企业工资管理系统 | 管理员登录</div>
    <div id="darkbannerwrap"></div>

    <form method="post" action="${pageContext.request.contextPath}/login" >
        <input name="action" value="login" type="hidden">
        <input name="account" placeholder="用户名" id="account"  required="true" type="text" class="none">
        <hr class="hr15">
        <input name="password" placeholder="密码" id="password" required="true" type="password" class="none">
        <p style="color: red;">${requestScope.msg}</p>
        <p style="color: red;">${sessionScope.msg1}</p>

        <hr class="hr15">
        <input value="登录" style="width:100%;" type="submit" id="btn">
        <hr class="hr20">

    </form>
</div>

</body>

</html>